package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/05/03 11:14
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello() {
        System.out.println("hello handler");
        return "hello";
    }

    @RequestMapping("bye")
    public String bye() {
        return "bye";
    }
}
